import Vue from 'vue'
import App from './App.vue'
import router from './router'

Vue.config.productionTip = false

//引入全局的CSS
import  './assets/css/global.css'

import ElementUI from 'element-ui'
Vue.use(ElementUI)
import 'element-ui/lib/theme-chalk/index.css';

import MyUrl from './plugins/url'
import axios from 'axios'
//设置默认 路径
axios.defaults.baseURL = MyUrl.serverUrl
Vue.prototype.$Myurl = MyUrl;


//设置axios的拦截器


//回应拦截器

Vue.prototype.$axios = axios;



//引入 qs
import qs from 'qs'
Vue.prototype.$qs = qs

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
